.app-layout {
  min-height: 100vh;
  
  &.dark {
    .app-sider {
      background: #001529;
    }
    
    .app-header {
      background: #001529;
      color: white;
    }
  }
}

.app-sider {
  box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
  z-index: 1001;
  
  .logo {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #001529;
    color: white;
    
    h1 {
      color: white;
      margin: 0;
      font-size: 18px;
      font-weight: 600;
    }
  }
  
  .ant-menu {
    border-right: none;
  }
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  z-index: 1000;
  height: 64px;
  line-height: 64px;
  
  .header-left {
    display: flex;
    align-items: center;
    
    .trigger-button {
      font-size: 18px;
      cursor: pointer;
      transition: color 0.3s;
      color: #001529;
      border: none;
      background: transparent;
      
      &:hover {
        color: #1890ff;
      }
    }
  }
  
  .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    
    .system-settings {
      .settings-button {
        font-size: 18px;
        color: #001529;
        border: none;
        background: transparent;
        
        &:hover {
          color: #1890ff;
        }
      }
    }
    
    .user-info {
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 4px;
      transition: background-color 0.3s;
      
      &:hover {
        background-color: #f5f5f5;
      }
      
      .username {
        color: #001529;
        font-weight: 500;
      }
    }
  }
}

.app-content {
  background: #f0f2f5;
  
  .content-wrapper {
    margin: 24px;
    padding: 24px;
    background: #fff;
    border-radius: 6px;
    min-height: calc(100vh - 112px);
  }
}

.layout__breadcrumb {
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

// 响应式设计
@media (max-width: 768px) {
  .app-header {
    padding: 0 16px;
    
    .header-right {
      gap: 8px;
    }
  }
  
  .app-content {
    .content-wrapper {
      margin: 16px;
      padding: 16px;
    }
  }
} 